home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / aiz451.zip / SERVERS.DOC < prev    next >
Text File  |  1990-05-15  |  1KB  |  37 lines

  1.  
  2.  
  3.        We work servers in this release in a  standard  way,with 
  4.     some minor changes. 
  5.        We have to declare these servers that we support ,in our 
  6.     cnf file. When bbs gets a msg addressed  to  a  server  ,it 
  7.     executes  the  server.Be  very  carefull  when  you   write 
  8.     servers.Each  server  must  terminate  its  execution   and 
  9.     deallocates its memory,otherwise bbs will hung  up.  If  we 
  10.     write file servers,we have to give full paths to files,  as 
  11.     parameters.The  whole  procedure  must  take   ,up   to   4 
  12.     seconds,because we are running multiconnect  and  we  don't 
  13.     need any longer delays. 
  14.      
  15.        Bbs steps during server's execution: 
  16.      
  17.      1.Creates a text file ,which server will read. 
  18.      2.Executes server. 
  19.      3.Server creates a text file with the necessary info. 
  20.      4.BBs reads this text file and converts to mail. 
  21.      
  22.       I have made a server named  'REQINF'  which  gives  infos 
  23.     about our  file  and  binary  directories.It  searches  the 
  24.     directories one by one and returns the contents. 
  25.      
  26.       Refer to the example sources. 
  27.      
  28.     Spiros. 
  29.      
  30.      
  31.      
  32.      
  33.  
  34.      
  35.      
  36.  
  37.